<template>
	<view>
		<!-- <uni-load-more v-if="lists.length === 0" status="loading"></uni-load-more> -->
		<uni-load-more v-if="lists.length === 0" status="noMore"></uni-load-more>
		<list-card v-for="(item, index) in lists" :key="index" :item="item"></list-card>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				lists:[]
			}
		},
		onLoad() {
			this.getMyArticle()
		},
		methods: {
		 getMyArticle(){
			 this.$api.get_my_article().then(res=>{
				 console.log(res)
				 const {data} = res
				 this.lists = data
			 })
		 },	
		}
	}
</script>

<style>

</style>
